﻿<Application x:Class="Probel.Ldoc.Shell.App"
             
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             
             ShutdownMode="OnMainWindowClose">
    <Application.Resources>
        <LinearGradientBrush x:Key="MenuBackgroundBrush" StartPoint="0,0" EndPoint="0,1">
            <GradientStop Offset="0" Color="#FFCAD3E2" />
            <GradientStop Offset="0.3" Color="#FFC2CCDB" />
            <GradientStop Offset="1" Color="#FFADB9CD" />
        </LinearGradientBrush>
        
        <LinearGradientBrush x:Key="ToolBarTrayBackground" StartPoint="0,0" EndPoint="0,1">
            <LinearGradientBrush.GradientStops>
                <GradientStop Color="#FF9CAAC1" Offset="0" />
                <GradientStop Color="#FF9CAAC1" Offset="0.9" />
                <GradientStop Color="#FFA6B3CA" Offset="1" />
            </LinearGradientBrush.GradientStops>
        </LinearGradientBrush>

        <!-- Button used in the toolboxes (typically the Ok, cancel) -->
        <Style TargetType="{x:Type Button}" x:Key="ButtonToolBoxStyle">
            <Setter Property="Margin" Value="5"/>
            <Setter Property="Width" Value="75"/>
        </Style>


        <!-- Style for the footers of the toolboxes -->
        <Style TargetType="Border" x:Key="ToolBoxBorderStyle">
            <Setter Property="DockPanel.Dock" Value="Bottom"/>
            <Setter Property="Margin" Value="0,20,0,0"/>
            <Setter Property="BorderThickness" Value="0,0.5,0,0"/>
            <Setter Property="BorderBrush" Value="{DynamicResource ResourceKey={x:Static SystemColors.ActiveBorderBrushKey}}"/>
            <Setter Property="Background" Value="{DynamicResource ResourceKey={x:Static SystemColors.ControlBrushKey}}"/>
        </Style>
    </Application.Resources>
</Application>
